#pragma once

#include "../umlmodel_global.h"

#include "VariableAction.h"

namespace uml {

/// <summary>
/// ClearVariableAction
/// A ClearVariableAction is a VariableAction that removes all values of a Variable.
/// </summary>
class UMLMODEL_EXPORT ClearVariableAction : public VariableAction {

public: // Constructors and destructors
    explicit ClearVariableAction(const QString& umlType="uml::ClearVariableAction");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
